From: Eli Zaretskii Date: Tue, 29 Jul 2025 11:08:29 +0000 (+0300) Subject: ; * lisp/image.el (image-supported-file-p): Doc fix (bug#79117). X-Git-Tag: archive/raspbian/1%30.2+1-2+rpi1^2~2^2~24^2~14 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=f20d5e63bc052985c5681e583ca48309f44ff515;p=emacs.git ; * lisp/image.el (image-supported-file-p): Doc fix (bug#79117). --- diff --git a/lisp/image.el b/lisp/image.el index 0be57cadb2b..2432b5727ce 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -414,10 +414,10 @@ be determined." ;;;###autoload (defun image-supported-file-p (file) - "Say whether Emacs has native support for displaying TYPE. -The value is a symbol specifying the image type, or nil if type -cannot be determined (or if Emacs doesn't have built-in support -for the image type)." + "Return non-nil if Emacs can display the specified image FILE. +The returned value is a symbol specifying the image type of FILE, +or nil if Emacs cannot display that image type or if the type +cannot be determined." (let ((case-fold-search t) type) (catch 'found